package cn.cfoodc.sharding;

import cn.cfoodc.sharding.config.TransactionConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.*;


@SpringBootApplication(scanBasePackages = {"cn.cfoodc.sharding"})
@MapperScan(value ="cn.cfoodc.sharding.mapper")
@Import(TransactionConfiguration.class)
public class ShardingApplication {

    public static void main(String[] args) {

        SpringApplication.run(ShardingApplication.class, args);

    }

}

